#ifndef DIALOGSELECTHEADER_H
#define DIALOGSELECTHEADER_H

#include <QDialog>

namespace Ui {
class DialogSelectHeader;
}

class DialogSelectHeader : public QDialog
{
    Q_OBJECT

public:
    explicit DialogSelectHeader(QWidget *parent = nullptr);
    ~DialogSelectHeader();
    void SetListHeader(const QList<QString>& headers);
    void ShowHeaderCheck(); //显示头列表
    QList<QString> GetSelectHeaders();  //返回选择列表
private slots:
    void on_buttonBox_accepted();

private:
    QList<QString> ListHeader;
    QList<QString> ListHeaderSelect;
    Ui::DialogSelectHeader *ui;
};

#endif // DIALOGSELECTHEADER_H
